from django.conf.urls import url

from . import wchat_mini_v2
from . import views

urlpatterns = [
    url(r'^wx-mini-login$', wchat_mini_v2.WXLoginRegisterViewSet.as_view(), name='miniLogin'),  # 微信小程序登录
    url(r'^encrypt-tel$', wchat_mini_v2.EncryptedTelViewSet.as_view(), name='encryptedTel'),  # 解密手机号
    url(r'^noticePay$', wchat_mini_v2.we_chat_notify_v2, name='we_chat_notify'),  # 支付结果通知
    url(r'^wxaCode$', wchat_mini_v2.WxaCodApiViewSet.as_view(), name='WxaCodApiViewSet'),  # 小程序码
    url(r'^urlScheme$', wchat_mini_v2.UrlScheme.as_view(), name='UrlScheme'),  # 小程序码
    # url(r'^MP_verify_nd1LCImhoNGn4n8G.txt$', views.wx_file, name='wx_file'),  # 微信文件
]
